<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>饥荒云服务管理平台</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
    <link href="style.css" rel="stylesheet" />
</head>

<body>
    <div class="panel">
        <h3>饥荒云服务管理平台</h3>
        <div class="btn-group">
            <button id="btn-start" class="btn btn-success">启动服务</button>
            <button id="btn-status" class="btn btn-info">查看运行状态</button>
            <button id="btn-restart" class="btn btn-warning">重启服务</button>
            <button id="btn-update" class="btn btn-primary">更新版本</button>
            <button id="btn-stop" class="btn btn-danger">停止服务</button>
            <button id="btn-backup" class="btn btn-secondary">备份世界</button>
            <a href="http://localhost:5000/api/download" class="btn btn-success" target="_blank"
                rel="noopener noreferrer">下载世界文件</a>
        </div>
        <pre id="output" class="output" aria-live="polite" aria-atomic="true"></pre>
    </div>
    <script src="app.js"></script>
</body>

</html>